package com.lehecai.core.lottery.fetcher.dc.impl;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.lehecai.core.lottery.fetcher.FetcherType;
import com.lehecai.core.lottery.fetcher.dc.SfggInstantSPItem;
import com.lehecai.core.lottery.fetcher.dc.impl.worker.SfggVirtualInstantSPFetchWorkerPengineAPI;

public class SfggVirtualInstantSPFetcher extends BaseSfggInstantSPFetcher {

	protected final Logger logger = LoggerFactory.getLogger(this.getClass().getName());
	
	/**
	 * 从engineAPI虚拟功能抓取北京单场胜负过关即时sp
	 * @param phase
	 * @param lotteryType
	 * @return
	 */

	@Override
	protected FetcherType getDefaultFetcherType() {
		return FetcherType.T_PENGINEAPI;
	}
	protected List<SfggInstantSPItem> fetchPengineAPI(String phase){
		SfggVirtualInstantSPFetchWorkerPengineAPI worker = new SfggVirtualInstantSPFetchWorkerPengineAPI();
		return worker.fetch(phase);
	}

}
